import request from '../utils/request';

//等级列表
export const DefaultRankDict = data => {
    return request({
        url: 'api/Card/DefaultRankDict',
        method: 'post',
        data: data
    });
};
//服务类型下拉列表
export const CheckServerDict = data => {
    return request({
        url: 'api/Card/CheckServerDict',
        method: 'post',
        data: data
    });
};
//服务类型下拉列表
export const PagingCategory = data => {
    return request({
        url: 'api/Card/PagingCategory',
        method: 'post',
        data: data
    });
};
//禁用卡片模板
export const DisableCategory = data => {
    return request({
        url: 'api/Card/DisableCategory',
        method: 'post',
        data: data
    });
};
//启用卡片模板
export const EnableCategory = data => {
    return request({
        url: 'api/Card/EnableCategory',
        method: 'post',
        data: data
    });
};
//导出卡片模板
export const Export = data => {
    return request({
        url: 'api/Card/Export',
        method: 'post',
        data: data
    });
};
//添加卡片模板
export const AddCategory = data => {
    return request({
        url: 'api/Card/AddCategory',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const PagingGrant = data => {
    return request({
        url: 'api/Card/PagingGrant',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const GrantTypeDict = data => {
    return request({
        url: 'api/Card/GrantTypeDict',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const CategoryDict = data => {
    return request({
        url: 'api/Card/AllCategoryDict',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const BatchCardGrant = data => {
    return request({
        url: 'api/Card/BatchCardGrant',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const DisableGrant = data => {
    return request({
        url: 'api/Card/DisableGrant',
        method: 'post',
        data: data
    });
};
//页加载所有批量发卡记录
export const EnableGrant = data => {
    return request({
        url: 'api/Card/EnableGrant',
        method: 'post',
        data: data
    });
};